Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Services.​DefaultCache<​T>
Assembly: Duende.IdentityServer
Inheritance: object → DefaultCache
Implemented Interfaces
IMemoryCache-based implementation of the cache
Properties
IdentityServerOptions
The IdentityServerOptions.
Cache
The memory cache.
protected
Internal.​IConcurrencyLock<​DefaultCache<​T>>
ConcurrencyLock
A lock used for concurrency.
protected
Microsoft.​Extensions.​Logging.​ILogger<​DefaultCache<​T>>
Logger
The logger.
Methods
protected
string
GetKey​(string key)
Used to create the key for the cache based on the data type being cached.
public
System.​Threading.​Tasks.​Task<​T>
GetAsync​(string key)
RemoveAsync​(string key)
public
System.​Threading.​Tasks.​Task<​T>
GetOrAddAsync​(string key,
System.​TimeSpan duration,
System.​Func<​System.​Threading.​Tasks.​Task<​T>> get)
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object